#{if message!=null}
<p style="background-color: #d10000;color: white;height: 20px;">${message}</p>#{/if}

#{if entityList!=null && entityList.size()>0}

<p style="">
${entityList.size()} 常量&nbsp;
*{，常量类型：<span style="color: #2244BB;">${typeName}</span>}*

    <span style="float: right;margin-right: 100px;">
    <a class="ui-state-default ui-corner-all opt_button" href="#"
            onclick="$('#const_type_tabs').tabs('select', 0);">返回类型列表</a>
</span>
</p>

<table id="const_list">
    <thead>
    <tr>
    *{<th class="main" width="40px">ID</th>}*
        <th class="main" width="60px">类型ID</th>
        <th class="main" width="60px">常量ID</th>
        <th class="main" width="300px">常量值</th>
        <th class="main">常量备注</th>
        <th class="main" width="80px">创建时间</th>
        <th class="main" width="60px">状态</th>
        <th width="100px">操作</th>
    </tr>
    </thead>
#{if entityList.size()>0}
    #{list items:entityList, as:'en'}
        <tr>
            *{<td class="main">${en.id}</td>}*
            <td class="main">${en.constType}</td>
            <td class="main">${en.constCode}</td>
            <td class="main">${en.constValue}</td>
            <td class="main">${en.constRemark}</td>
            <td class="main">${en.createDate.format("yyyy-MM-dd")}</td>
            <td class="main">${en.showStatus()}</td>
            <td class="main">
                *{<a class="ui-state-default ui-corner-all opt_button" href="#">编辑</a>}*
                <a class="ui-state-default ui-corner-all opt_button"
                   href="javascript:requireActionByPost('@{SysConstants.delete}','${en.id}','确认删除常量(${en.constValue})？');">删除</a>
            </td>
        </tr>
    #{/list}
#{/if}
</table>
#{/if}

#{else}
<p style="">
常量类型：<span style="color: #2244BB;">${typeName}</span>&nbsp;没有常量数据
</p>
#{/else}